﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Root.master" AutoEventWireup="true" CodeFile="variable.aspx.cs" Inherits="variable" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="Server">
    <script src="../Scripts/toolbar.js" type="text/javascript"></script>
    <div class="pageLabel">
        <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="Параметры приложения" Font-Size="Medium" Theme="iOS">
        </dx:ASPxLabel>
    </div>

    <div style="float: left; margin-left: 10px;">
        <dx:ASPxGridView ID="grid" runat="server" ClientInstanceName="grid" AutoGenerateColumns="False" DataSourceID="dsGlobalData" KeyFieldName="CODE" OnRowInserting="grid_RowInserting">
            <Columns>
                <dx:GridViewCommandColumn VisibleIndex="0" Width="60px">
                    <EditButton Visible="True">
                    </EditButton>
                </dx:GridViewCommandColumn>
                <dx:GridViewDataTextColumn Caption="Код" FieldName="CODE" ReadOnly="True" VisibleIndex="1" Width="60px">
                    <EditFormSettings Visible="False" />
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn Caption="Наименование параметра" FieldName="NAME" VisibleIndex="2" Width="150px">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn Caption="Значение" FieldName="DATA" VisibleIndex="3" Width="150px">
                </dx:GridViewDataTextColumn>
            </Columns>
            <SettingsBehavior AllowFocusedRow="True" ConfirmDelete="True" EnableCustomizationWindow="true"/>
            <SettingsPager AlwaysShowPager="True">
            </SettingsPager>
            <Settings ShowFilterRow="True" ShowFooter="True" />
        </dx:ASPxGridView>
        <asp:EntityDataSource ID="dsGlobalData" runat="server" ConnectionString="name=RegistRar" DefaultContainerName="RegistRar" EnableDelete="True" EnableFlattening="False" EnableInsert="True" EnableUpdate="True" EntitySetName="GLOBALDATA">
        </asp:EntityDataSource>
    </div>
</asp:Content>

